<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Fund.ascx.vb" Inherits="WebForms_Fund" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<div id="divMain" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px;height: 5px;"></td></tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr>
        <td id="Name_td" runat="server" align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            
        </td>
        <td></td>
        </tr>
        <tr>
        <td id="Policy_td" runat="server" align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            
        </td>
        <td></td>
        </tr>
        <tr>
        <td id="Provider_td" runat="server"  align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            
        </td>
        <td align="right" style="font-weight: bold; font-size: 10pt; font-family: Arial; color: #d63007;">
            Add New Fund
        </td>
        </tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
    </table>

    <br />

    <table border="0" cellpadding="0" cellspacing="0" width="800" style="background-color: #f2f3f5">
               
    <tr><td style="width: 800px; height: 65px;">

        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 95px;" align="left">
                    &nbsp;Fund Name:</td>
                <td style="width: 187px" align="left" colspan="5">
                    <asp:DropDownList ID="Fund_cmb" runat="server" Width="457px" AutoPostBack="True">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 94px;" align="left">
                    &nbsp;Fund Code:</td>
                <td align="left" style="width: 100px">
                    <asp:TextBox ID="Fund_txt" runat="server" Width="104px" ReadOnly="True"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 100px;" align="left">
                    &nbsp;% Allocation:</td>
                <td align="left" style="width: 75px">
                    <asp:TextBox ID="Allocation_txt" runat="server" Width="72px"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 95px;" align="left"></td>
                <td style="width: 187px" align="left">
                    </td>
            </tr>
        </table>
            
    </td></tr>

    <tr><td style="width: 800px; height: 54px;">

        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="width: 400px; height: 24px;"></td>
                <td style="height: 24px">
                    <asp:Button ID="Save_btn" runat="server" Text="Save" BackColor="Gainsboro" Font-Names="Verdana" Width="104px" />
                </td>
                <td style="height: 24px">
                    <asp:Button ID="Cancel_btn" runat="server" Text="Back" BackColor="Gainsboro" Font-Names="Verdana" Width="112px" CausesValidation="False" />
                </td>
            </tr>
        </table>
            
    </td></tr>

    </table>
    <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="Fund_cmb"
        ErrorMessage="Fund Name Required" ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
            ID="rfv2" runat="server" ControlToValidate="Allocation_txt" ErrorMessage="Allocation Required"
            ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:ValidationSummary ID="ValidationSummary1"
                runat="server" ShowMessageBox="True" ShowSummary="False" />
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server"
        TargetControlID="rfv1">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server"
        TargetControlID="rfv2">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
        FilterType="Custom, Numbers" TargetControlID="Allocation_txt" ValidChars='"."'>
    </ajaxToolkit:FilteredTextBoxExtender>
</div>
